• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
palfvin Avatar
Name:Unknown
Clan:Unknown
Member Since:Sep 2013
Last Seen:Aug 2022
Profiles:
Following:0
Followers:1
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (49)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Richard-Degenne
    • commented on "Return substring instance count" ruby solution
    • 8 years ago

    Using count instead of size or length makes a huge difference: count traverses an Enumerable, so you're losing a lot of CPU time for nothing, especially on large collections.

    http://batsov.com/articles/2014/02/17/the-elements-of-style-in-ruby-number-13-length-vs-size-vs-count/

  • Custom User Avatar
    • betasve
    • commented on "Function 1 - hello world" ruby solution
    • 11 years ago

    That's not clever. Target was to output is as over-complicated as possible. Not as simple as possible.

  • Custom User Avatar
    • gypsydave5
    • commented on "Function 1 - hello world" ruby solution
    • 11 years ago

    OK, who's been marking this as 'clever'... ?

  • Custom User Avatar
    • taralx
    • commented on "Snail" kata
    • 12 years ago

    Oh, so I wasn't the only one with that solution. :D

  • Custom User Avatar
    • palfvin
    • commented on "Snail" kata
    • 12 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • palfvin
    • commented on "Counterfeiting" kata
    • 12 years ago

    Terrific kata! It took me a long time to understand the challenge and then about the same length of time to figure out how to solve it, but I felt I really learned something and I don't think I'd change anything. Kudos!!!

  • Custom User Avatar
    • palfvin
    • commented on "Palindrome" kata
    • 12 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • palfvin
    • commented on "Greed is Good" kata
    • 12 years ago

    Nice kata and good tests. :-)

  • Custom User Avatar
    • palfvin
    • commented on "Arabian String" kata
    • 12 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • palfvin
    • commented on "Throwing Darts" ruby solution
    • 12 years ago

    Ooos, I left debugging statement in there. Is there any way to delete a solution after submitting?

  • Custom User Avatar
    • palfvin
    • commented on "Valid Phone Number" kata
    • 12 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • palfvin
    • commented on "Don't rely on luck." kata
    • 12 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • palfvin
    • commented on "Site Design" topic
    • 12 years ago

    Glad to hear downvotes likely to go away and I agree that this is a nice community. :-)

  • Custom User Avatar
    • palfvin
    • commented on "(Ready for) Prime Time" ruby solution
    • 12 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • palfvin
    • commented on "Remove Odd Hashes" kata
    • 12 years ago

    When you say "user", do you mean the person developing the method to satisfy your written specification and your test? Or do you mean the person invoking the method?

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...