Bill Allombert on Sat, 01 Apr 2023 10:37:07 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Fwd: Speed versus clarity
|
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: Fwd: Speed versus clarity
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Sat, 1 Apr 2023 10:35:51 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1680338144; c=relaxed/relaxed; bh=CqF8EFy5ISq8xJONWGnQHRH8mtm9adpQPajQ22sa6dA=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=dUxG/07EHWGHPr8u2Lg0T+3Vyxn4qozak2/8VY2Hf5O2kmzNUCkJuyRhnQa3nWa/XmT27JLTDR5RQWrEj1m/4gQOAVa3Fb2B5Jrh8mAXdZKN1lHfD5lZyadCIPDvVgnXkIhzsUFKTcJpouq/X8pP67THLQ3tQ6IWEYJ9mW11CSLtNqb7fE4AhlMkl3NG/P1yM6XUodMYrjbNVyEKFeY61ZxpeLxn2GL0YMFrbWbqmCFNEzpJWafqRxZ/5HMplFyVz+YyNwuCuJWQw7q+4dbz3wPAmc8CojYmGNVjTvfAPYkVbBNn47lgdfw+saiVYVtm0Q4179M3GWymI0PszogX60J9HyM4M+ZOz4jFBUS7L+qy7aHXlbPtWWCih7cLogmGw2dUDkB/eWIvyXso6mOVW0mY7u0ectOJ7JcqpRMuU9kg7YdDAR5S8afE/OnCLZYPd+AoA7d8OwBvomkPUeTBA0v7tfIdLTNZq1BZGerPb4t8zjmA25rEADCH5B5cFfqiHoNFqbYE/G1lJ/yzjTdBpWltJNYWrBPPTExecCJlIcj5KXGrhrfqDxGq8O5e9MyC2i1DdZ87ySWkWSpYu21lFAUQbcNk7XGCyryAnqgtNkpUWkB4ja6P/tiypp3NsMnXAG/r2ofNnrpxhNo0ZJkCooIeoZpfp1Mb2Hed3sKVcvc=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1680338144; cv=none; b=ckHbFERitpNZCgaDxAr5DJC28pg5+IsmD1YHtWS0BQadno/kgOshiwRxCKRpelQMbaRQeuuGejn0v2+jKN/kkb7Tr/0Bsj0XxvoXTGooLWchPXrZGQ2Tpd3y4pPiNObDvFWfkIGKQK+/e9MAIUqtxSIx7bnCp56RBKWlxBS8wWAiFXyoe8iNDu4Y70vV+bxaf29afPPKIanNNFPqNdWkpDnUlQmrq390a9ZxG0yWPgKLr0EWXsP7REEHqmoK74ZVD5UDwECnz+FTnNdqN4hq1Qjkak3hfQbCph8HCqwbyCuA1BsjDjJWxATdCLi5z47VhyfqVKHtitoklopzRlQGPOVAIRTnr4flU96CW18b8PjP4cX/ZZ07bSc/Him0HE+A/+u3vqHUkJKVvHYtGl7Dt2z4yAtVJ37XPT3Tt/87KsbvLXiSYuXsK18NqBCtpIuWjTETYwFUmTgHKdoGmDf+QDN5ndePgRa7fvFiLJ0YYWXvXno2FojDWhPJ0peWN186I+FPeXWNL/N1WErO2u85/jLvBIQySfSIrVJWbGEp9FNfNtw1URxXzSf0mcdwECzUo2VvTrg+668ZUmJVNnlFVq04rdtmBjk3RamkNJMgtZ5npUqy/A3bPYOvcHjQNGwk+MviBUn41LSWLUkZMQq0iYFeucSy0R5Qw4SAZVISBQ0=
- Authentication-results: smail; arc=none
- Delivery-date: Sat, 01 Apr 2023 10:37:07 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1680338144; bh=CqF8EFy5ISq8xJONWGnQHRH8mtm9adpQPajQ22sa6dA=; h=Date:From:To:Subject:References:In-Reply-To:From; b=D0MkjvZgHlM1gsnCrHfLjsCJ7Au/Y0gCDoJmN7o8NsuaGw/8vHpAw7VBddXSLzqpL xbuBLYa7kwAprzugonXQh6CfkBWVu5wD/fUJqU6xQYNONbdDPERjpJGMIl9r5ngnXV 3PpPh3A+n5k5dCLkS8gonHXPXu+51IlKRr6bq4pBKYkGSGQ4v0wo0artYqUmT8dSvN 60WFP2GyTmk751il84LQZIsgBeqNfQmKlKikM9HYzJIZU1TD+56BgaaLf/d54CNZW5 Z3tC+eJni0/La4jvv/1MxDZb16brXIymL0s/J+YukbS/BYSfmvknDy8NJ5AYcRfzxP A6TkTLWaR6V92sBuPV+wfJdNw0caSfTDape+0ZVManRSh/1GCB6OWeEtwDmqDDJG8N 8ilCnMcXZL4cOO+CXuwI38oUULRl8nPmsUs/FXLycqeO3jJvz2uYL7qplx9BvZceAr yQYq4+xgSy7iUIJukzndrygArELA8M3T/4+1DsIYSzdjXYv0ZZ21F3BTNb8cpLvkCE 4VvjgppopAhFzglBn3cwZs1NNzuui546MbzjitSaw7H7RIpFVlXCs5w0YS7U8EQkhZ /xmsMghkHpSIkAxqyuecosjEgREVBWOK9Nfbk3tEXqvF9/ekUtls1AtKHGodcAomUA klEb0gc0ETY7Avik8dNZy4Kc=
- In-reply-to: <uh3nwvto5aqob4wt6x3dp6lhlsgovvilwbgzvlfz6zf7fxirt2@rj7olwpkgmaj>
- Mail-followup-to: pari-dev@pari.math.u-bordeaux.fr
- References: <3cf114d6-5b22-702f-1d5f-54cf04635123@jamasaru.com> <f2413e51-2669-4a2f-122c-2bcee258fae3@jamasaru.com> <uh3nwvto5aqob4wt6x3dp6lhlsgovvilwbgzvlfz6zf7fxirt2@rj7olwpkgmaj>
On Thu, Mar 30, 2023 at 08:53:18PM +0200, Oliver Bandel wrote:
> Quoting Steve <global@jamasaru.com> (snt: 2023-03-29 02:41 +0200 CEST) (rcv: 2023-03-29 02:42 +0200 CEST):
> > Greetings, number theory maniacs!
> >
> > In general, is the coding style of Pari meant to be biased towards clarity
> > or towards performance? Obviously there's a continuum, but the Pari project
> > itself might prefer cleaner elegant code over most performant just for
> > maintenance and readability.
>
> I'm not the one who can answer your PARI-related questions, but in
> general I would prefer code clarity over speed optimization in most
> cases.
For what is worth, it is not at all how PARI has been written historically.
But code clarity and speed optimization are not in opposition.
However we always tried to avoid large hard-coded tables.
Cheers,
Bill.