Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-04

big const arrays

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Пётр Косаревский

Is there any easy way to create big array of constants?

Does it matter (with maximum optimizations switches), if my >50 Kb array is defined as constant?

That is: are there benefits from defining heavily used array as const versus defining it as variable and filling data by program?

(For example, array contains precalculated values of some function.)

Reply by email