Page 1 of 1
Inline functions
Posted: Sun Oct 01, 2006 3:29 pm
by Lagoon
It would be wonderful to have inline functions, adding an inline keywork just like in c++
Code: Select all
inline function my_function_name()
// whatever
endfunction
I'm often forced to rewrite code when performance is critical, I'd really like to avoid this with inline function
Posted: Thu Oct 12, 2006 12:43 pm
by Lagoon
Why no reply for this? Is it useless for everyone but me?
If the devs think it's too complex to code for the benefit it could give, I can understand, but please let me know your opinion ^_^
Posted: Thu Oct 12, 2006 4:42 pm
by Marilla
I like the idea, myself, if it's feasible and would give benefits in the scripting engine thingy. My bet, though, is that it would be mis-used to high heaven. I can picture script with every single function inlined, now!
Posted: Thu Oct 12, 2006 8:01 pm
by Austin
Extremely difficult for us to implement right now and theres more important things like the lost gotten items on world save, what happens to secure trade items during a save, etc.
Were gonna try to push release candidates for 097 pretty soon.
Posted: Fri Oct 13, 2006 12:52 am
by Lagoon
I agree with your point, this is a plus which can wait, I hope you'll take it into cosideration when basic features are stable ^_^
Posted: Fri Oct 13, 2006 1:44 pm
by MuadDib
Definately something to wait on. I know Austin and myself have been wanting to begin RC soon, but there are a few critical issues to resolve in this core before we can do such. Which means putting off requests and so on till they can be handled and done with.