Forum rules - please read before posting.

[Feature Request] Convert speech lines list to dictionary

As far as I can see the "List<SpeechLine> lines" is accessed and lookup in it is performed pretty often based on unique "lineId". Would it be possible to have this list converted to a dictionary and perform lookups based on it? While I haven't done many tests yet I believe it would have a _very_ positive impact on performance when fishing for translated lines. Sure the lineId would duplicate in multiple places (in SpeechLine object and in dictionary) but I believe that's negligible compared to the potential performance improvement.

Comments

  • Can't promise, but will at least investigate.  Should be noted that the lookup only occurs whenever a Speech line begins - not every frame it's showing.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.