From 9fe7c6f9697b5bbf3041261fdc60040e75cc674f Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sun, 15 Nov 2026 16:11:39 -0800 Subject: Split off chapter 31 Ch 32 will be focused on compiler performance issues. --- chapter32/src/test/smp/lazy/App/Tables.smp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 chapter32/src/test/smp/lazy/App/Tables.smp (limited to 'chapter32/src/test/smp/lazy/App/Tables.smp') diff --git a/chapter32/src/test/smp/lazy/App/Tables.smp b/chapter32/src/test/smp/lazy/App/Tables.smp new file mode 100644 index 00000000..0f32a118 --- /dev/null +++ b/chapter32/src/test/smp/lazy/App/Tables.smp @@ -0,0 +1,4 @@ +Stats.builds++; +int[] _squares=new int[256]; +for(int i=0; i<256; i++) _squares[i]=i*i; +val square={u8 n -> _squares[n];}; -- cgit v1.2.3