JimHokanson / turtle_json

JSON tokenizer and parser for Matlab implemented in C mex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mex the object instantiation

JimHokanson opened this issue · comments

The current behavior instantiates actual Matlab data types via Matlab code. This code should be relatively straightforward to to port to mex to speed up this aspect. The benefit of this change is directly proportional to the number of objects in the JSON file that you are converting to Matlab structures.

The Matlab implementation currently resides at: json.tokens>get_parsed_data.m
https://github.com/JimHokanson/turtle_json/blob/master/src/%2Bjson/%40tokens/get_parsed_data.m

Done!