HaxeFoundation / HaxeFoundation/haxe

String performance is low and crash

Open
#8,780 21 comments 0 reactions 1 assignee Claimed by @hughsando View on GitHub
platform-hl
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

hashlink :crash
neko :crash
node:17ms
hxcpp:crash
php:crash


package;

/**
* ...
* @author sonygod
*/
class StringTest
{


static function main()
{


var s = "1234567890abcdefghijklmnopqrstuvwxyz";
var t = Date.now().getTime();
var str = '';

for (i in 0...100000){
str += s;
}

trace(Date.now().getTime()-t);


}
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.