kr0st / fpgui

GUI application for convenient browsing through fplog-generated log messages
MIT License
0 stars 0 forks source link

Write a ChaiScript sorting function for fplog standard fields #5

Closed kr0st closed 6 years ago

kr0st commented 6 years ago

This needs to be a separate script file that takes configuration array from C++ application and based on this configuration it is able to return which log entry has higher order of the 2 log entries the sorting function takes as arguments.

kr0st commented 6 years ago

First approach was to write a compare function in ChaiScript and then feed this compare function to std::sort algo. This failed due to severe performance issues, see #6

kr0st commented 6 years ago

ChaiScript turned out to be not very useful for sorting json strings.