Jump to content

while+vl-some Double loop is slow


ekko

Recommended Posts

3 minutes ago, ekko said:

The point is not the code, but your logic approach, you have solved my problem,  I have a doubt (setq f 1e-1) I can't understand this. thanks again for your help bro wish you a happy life😀

That is the fuzz value EQUAL uses to compare the angles and lengths. It's the same as 1e-1 = 0.1 .. 1e-2 = 0.01 and so on.

 

And thanks! 🍻

Link to comment
Share on other sites

@ronjonp Any particular reason for using cond instead of if ?

 

-edit

 

nm you don't have to use (progn or is their something else as well?

Edited by mhupp
Link to comment
Share on other sites

8 minutes ago, mhupp said:

@ronjonp Any particular reason for using cond instead of if ?

 

-edit

 

nm you don't have to use (progn or is their something else as well?

Just a personal preference. I like the way COND formats in the vlide.

And yes if PROGN is needed I generally opt for COND.

Edited by ronjonp
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...