The nearest postal resource was created to help improve the idle and active performance of most postal systems. This system waits until the player actually moves before updating the postal. It's idle waiting time is also set to half a second to reduce the amount of runs the loop goes through per second.
Another issue with most postal resources is that they use a "native" text rendering. I chose not to do this and instead use NUI (New Ui) which is not re-rendered every single frame and instead I can tell it when to update. This further increases performance.
Resource Name | Time % | CPU Time (ms) | Memory Usage |
---|---|---|---|
tan-postal | 0.24 | 0.00 | 580.11 KiB+ |
nearest-postal | 8.31 | 0.05 | 569.84 KiB+ |