Replies: 2 comments
-
Do rescue ships and megaships have markets? Presumably as they seem to appear in the prices file, yes. Could they be filtered out to avoid the problem? |
Beta Was this translation helpful? Give feedback.
-
Aside, stupid optimization, given there are a lot of stations:
Doing:
takes 70ns better yet,
takes 40ns and if you could avoid unicode conversion and deal with the data in ascii/byte form:
doing everything in byte form until we actually need to interact with text fields would probably be a huge perf win all over the place. takes 35ns |
Beta Was this translation helpful? Give feedback.
-
The solution I use in the listener is to list all movable stations as
MEGASHIP\{station name}
instead of '{system name}{station name}` when creating the dict:That said, the listener also builds the dict at the start rather than as it encounters a 'new' station.
All fleet carriers have unique name in the form XXX-XXX. All rescue ships have "Rescue Ship" in their name. As far as I can tell, all the other megaships also have unique names as well.
Beta Was this translation helpful? Give feedback.
All reactions