Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] though if it's just 300 soldiers, couldn't you just random them around across the 32 bits you alread

[DiscordArchive] though if it's just 300 soldiers, couldn't you just random them around across the 32 bits you alread

[DiscordArchive] though if it's just 300 soldiers, couldn't you just random them around across the 32 bits you alread

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
07-18-2022, 08:15 PM
#11
Archived author: <o> • Posted: 2022-07-18T20:15:52.068000+00:00
Original source

_or_ extend the grid notifiers to accept entries as well
rektbyfaith
07-18-2022, 08:15 PM #11

Archived author: <o> • Posted: 2022-07-18T20:15:52.068000+00:00
Original source

_or_ extend the grid notifiers to accept entries as well

rektbyfaith
Administrator
0
07-18-2022, 08:17 PM
#12
Archived author: <o> • Posted: 2022-07-18T20:17:03.482000+00:00
Original source

and then yeah, use some map to track visibility and update the players phasemask (just to trigger a visibility update) whenever it changes
rektbyfaith
07-18-2022, 08:17 PM #12

Archived author: <o> • Posted: 2022-07-18T20:17:03.482000+00:00
Original source

and then yeah, use some map to track visibility and update the players phasemask (just to trigger a visibility update) whenever it changes

rektbyfaith
Administrator
0
07-18-2022, 08:17 PM
#13
Archived author: <o> • Posted: 2022-07-18T20:17:35.529000+00:00
Original source

though you'll soon notice a boolean map is often just a more memory-intensive bitfield
rektbyfaith
07-18-2022, 08:17 PM #13

Archived author: <o> • Posted: 2022-07-18T20:17:35.529000+00:00
Original source

though you'll soon notice a boolean map is often just a more memory-intensive bitfield

rektbyfaith
Administrator
0
07-18-2022, 08:18 PM
#14
Archived author: <o> • Posted: 2022-07-18T20:18:50.306000+00:00
Original source

it's apt when you have a very common default behavior (like 290 are in one state and 10 in the other that you track)
rektbyfaith
07-18-2022, 08:18 PM #14

Archived author: <o> • Posted: 2022-07-18T20:18:50.306000+00:00
Original source

it's apt when you have a very common default behavior (like 290 are in one state and 10 in the other that you track)

rektbyfaith
Administrator
0
07-18-2022, 08:19 PM
#15
Archived author: whatwere • Posted: 2022-07-18T20:19:54.802000+00:00
Original source

Wonder if an unordered map would be faster for this than a normal map
rektbyfaith
07-18-2022, 08:19 PM #15

Archived author: whatwere • Posted: 2022-07-18T20:19:54.802000+00:00
Original source

Wonder if an unordered map would be faster for this than a normal map

rektbyfaith
Administrator
0
07-18-2022, 08:20 PM
#16
Archived author: <o> • Posted: 2022-07-18T20:20:55.921000+00:00
Original source

that's just a toggle so just measure it
rektbyfaith
07-18-2022, 08:20 PM #16

Archived author: <o> • Posted: 2022-07-18T20:20:55.921000+00:00
Original source

that's just a toggle so just measure it

rektbyfaith
Administrator
0
07-18-2022, 08:21 PM
#17
Archived author: <o> • Posted: 2022-07-18T20:21:10.460000+00:00
Original source

doesn't impact your design more than the name you use
rektbyfaith
07-18-2022, 08:21 PM #17

Archived author: <o> • Posted: 2022-07-18T20:21:10.460000+00:00
Original source

doesn't impact your design more than the name you use

rektbyfaith
Administrator
0
07-18-2022, 08:22 PM
#18
Archived author: <o> • Posted: 2022-07-18T20:22:01.198000+00:00
Original source

if your numbers are accurate (~300), it wouldn't surprise me if a big fat bitfield is still faster than a map
rektbyfaith
07-18-2022, 08:22 PM #18

Archived author: <o> • Posted: 2022-07-18T20:22:01.198000+00:00
Original source

if your numbers are accurate (~300), it wouldn't surprise me if a big fat bitfield is still faster than a map

rektbyfaith
Administrator
0
07-18-2022, 08:23 PM
#19
Archived author: <o> • Posted: 2022-07-18T20:23:05.769000+00:00
Original source

but maybe not, that would end up impacting every query and fuck up the cache for the visibility system
rektbyfaith
07-18-2022, 08:23 PM #19

Archived author: <o> • Posted: 2022-07-18T20:23:05.769000+00:00
Original source

but maybe not, that would end up impacting every query and fuck up the cache for the visibility system

rektbyfaith
Administrator
0
07-18-2022, 08:23 PM
#20
Archived author: <o> • Posted: 2022-07-18T20:23:32.104000+00:00
Original source

it's among the few things in the core that's actually cache optimized
rektbyfaith
07-18-2022, 08:23 PM #20

Archived author: <o> • Posted: 2022-07-18T20:23:32.104000+00:00
Original source

it's among the few things in the core that's actually cache optimized

Pages (3): Previous 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)