#!/usr/local/bin/rune -x # # Test allocator/deallocator limport "sys"; import "stdio"; int main(int ac, char **av) { char *str; int i; stdio.stdout->show("Allocate and free a 64-byte string 5M times"); for (i = 0; i < 5000000; ++i) { str.new(64); ++str[0]; ++str[63]; } return(0); }