Data structures in Pawn
#5

It doesn't matter (much) performance wise AFAIK. In a system you described the only reason I would step away from the enum is when I need to have multi-dimensional arrays inside the enum/array.

SA-MP does not allow for more than 3 dimensions per array, and when you use an enum like that, your actually making a two-dimensional array.
Reply


Messages In This Thread
Data structures in Pawn - by MadeMan - 19.10.2012, 18:14
Re: Data structures in Pawn - by MadeMan - 19.10.2012, 18:36
Re: Data structures in Pawn - by lorizz - 19.10.2012, 21:15
Re: Data structures in Pawn - by Steven82 - 20.10.2012, 07:34
Re: Data structures in Pawn - by playbox12 - 20.10.2012, 10:09
Re: Data structures in Pawn - by MadeMan - 20.10.2012, 10:20
Re: Data structures in Pawn - by SuperViper - 20.10.2012, 15:00
Re: Data structures in Pawn - by MadeMan - 03.11.2012, 17:39
Re: Data structures in Pawn - by Finn - 03.11.2012, 17:54
Re: Data structures in Pawn - by MadeMan - 03.11.2012, 18:39
Re: Data structures in Pawn - by Michael@Belgium - 03.11.2012, 19:04
Re: Data structures in Pawn - by Finn - 03.11.2012, 19:32
Re: Data structures in Pawn - by Niko_boy - 04.11.2012, 05:01
Re: Data structures in Pawn - by [ABK]Antonio - 04.11.2012, 05:32
Re: Data structures in Pawn - by MadeMan - 04.11.2012, 08:41
Re: Data structures in Pawn - by Y_Less - 04.11.2012, 09:02
Re: Data structures in Pawn - by MadeMan - 04.11.2012, 11:24

Forum Jump:


Users browsing this thread: 3 Guest(s)