[Scilab-users] [EXTERNAL] Re: my loop faster than vectorization (???)

Rafael Guerra jrafaelbguerra at hotmail.com
Fri Jun 30 19:22:38 CEST 2017


Hi,

For huge matrices of strings like your variable "b", eval()  or evstr() do not seem to work efficiently in Scilab 5.5.2.

However, if you have a fast hard disk (SSD), it will be comparatively lightning fast to do the conversion via I/O functions such as:
csvWrite(b,"outb.csv");
c=csvRead("outb.csv");

Then use 'c' in your code, which has now typeof 'constant', with nor further need for eval/evstr.

Rgds,
Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170630/80d29826/attachment.htm>


More information about the users mailing list