Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7997803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:03:16+00:00 2026-06-04T15:03:16+00:00

Or is a function with a shorter name more efficient than the same function

  • 0

Or is a function with a shorter name more efficient than the same function with a longer name? Why or Why not?

Personally I guess it’ll be more efficient but not efficient enough to make us care about it, just guess.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T15:03:18+00:00Added an answer on June 4, 2026 at 3:03 pm

    There is no performance difference, since those names don’t matter at the machine level. A compiler will process those names away so it won’t make a difference to your program at all.

    Functions names might get turned into labels (which won’t affect run-time performance), and variable names will probably get replaced by register reference or stack operations (both independent of the name you use). At this level, the OS is using (and jumping to) memory addresses, not names.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Other than creating a function, is there a shorter way to check if a
Sorry for long question, but I don't know how to make it shorter. 1.
I have the next function: var checkNameLenght = function(name,nameLenght,allowedLenght,defaultName) { if((nameLenght <= allowedLenght) &&
I've got the following: function view_sorter_views_pre_view(&$view) { // don't need $items if ($view->name ==
In this article http://howtonode.org/why-use-closure an example is given : function greeter(name, age) { var
This sorts in one direction, but not the other. Is there something wrong with
1. PHP function. I've created validating function, here it is in shorter version: function
How would I make this jQuery shorter? I assume there must be a better
Is there a better (shorter) method to retrieve the NeutralResourcesLanguageAttribute of an assembly than
I got this function: function shorter($text, $chars_limit) { if (strlen($text) > $chars_limit) return substr($text,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.